﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model
{
    /// <summary>
    /// 收货地址
    /// </summary>
    [Table("siteInfo")]
    public class siteInfo
    {
        [Key]
        public int Sid { get; set; }//地址id
        public string Sname { get; set; }//收货人
        public int shengid { get; set; }//省(外键)
        public int shiid { get; set; }//市(外键)
        public int xianid { get; set; }//区县(外键)
        public string Sadds { get; set; }//详细地址
        public string Sphone { get; set; }//收货电话
        public int Sdefault { get; set; } = 1;//是否默认0是,1否
        public int Suid { get; set; }//用户id(外键)

    }
}
